package com.app.service;

import com.app.model.Banner;
import com.app.request.PageParamRequest;
import com.app.response.ArticleResponse;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * <p>
 * 轮播图管理	 服务类
 * </p>
 *
 * @author ghoul
 * @since 2024-12-27
 */
public interface IBannerService extends IService<Banner> {
    PageInfo<Banner> getAdminList(Banner request, PageParamRequest pageParamRequest);

    List<Banner> getSmallList();

    boolean create(Banner banner);

    boolean deleteById(Integer id);

    Banner getDetail(Integer id);

    boolean updateStatus(Integer id, boolean status);
}
